package com.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("rent_lianjia") // 指定对应数据库表名
public class LianJia {
    private String area;

    @TableField("plot_id") // 保持与数据库字段名一致
    private String plotId;

    @TableField("price")
    private String price; // 数据库中是text类型，建议使用String

    @TableField("plot_name")
    private String plotName;

    private String property;

    @TableField("house_id")
    private String houseId;

    private String elevator;

    private String id;

    private String face;

    @TableField("total_amount")
    private String totalAmount;

    private String look;

    @TableField("jing_zhuang")
    private String jingZhuang;

    @TableField("nian_fen")
    private String nianFen;

    private String title;

    @TableField("guan_zhu")
    private String guanZhu;

    @TableField("date01")
    private String date01; // 如果需要日期类型，可以改为Date或LocalDateTime

    @TableField("qu_yu")
    private String quYu;

    @TableField("qu_xian")
    private String quXian;

    private String city;
}